package com.cls.business.service;

import com.cls.business.entity.DelayApply;

import com.cls.common.entity.QueryRequest;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 延期申请表 Service接口
 *
 * @author slx
 * @date 2020-12-02 14:26:56
 */
public interface IDelayApplyService extends IService<DelayApply> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param delayApply delayApply
     * @return PageInfo<DelayApply>
     */
    PageInfo<DelayApply> findDelayApplys(QueryRequest request, DelayApply delayApply);

    /**
     * 查询（所有）
     *
     * @param delayApply delayApply
     * @return List<DelayApply>
     */
    List<DelayApply> findDelayApplys(DelayApply delayApply);

    /**
     * 新增
     *
     * @param delayApply delayApply
     */
    void createDelayApply(DelayApply delayApply);

    /**
     * 修改
     *
     * @param delayApply delayApply
     */
    void updateDelayApply(DelayApply delayApply);

    /**
     * 删除
     *
     * @param ids ids
     */
    void deleteDelayApplys(String[] ids);

    DelayApply findDelayApplyByDeclareId(Long declareId);

    PageInfo<DelayApply> selectAll(QueryRequest request, DelayApply delayApply);
}
